package com.weixin.engine.design.chain;

/**
 * 处理程序接口
 *
 * @author wangchunhui
 * @date 2023/7/20 10:11
 */
public interface Handler {

    void setNext(Handler handler);

    void handleRequest(Request request);

    void handleResponse(Response response);

}